package com.lqzs.businessmanager;

import android.app.Application;
import android.content.Context;

import com.lqzs.businessmanager.bean.response.LoginShopResponse;

public class BusinessManagerApplication extends Application {
    private static Context sContext;

    private static LoginShopResponse sVendorInfo;
    private static int sBottomNavigationBarHeight;
    private static int sScreenWidth;
    private static int sScreenHeight;

    @Override
    public void onCreate() {
        super.onCreate();
        sContext = this;
    }
    
    public static Context getContext() {
        return sContext;
    }

    public static void setVendorInfo(LoginShopResponse vendorInfo) {
        sVendorInfo = vendorInfo;
    }

    public static LoginShopResponse getVendorInfo() {
        return sVendorInfo;
    }

    public static int getBottomNavigationBarHeight() {
        return sBottomNavigationBarHeight;
    }

    public static void setBottomNavigationBarHeight(int bottomNavigationBarHeight) {
        sBottomNavigationBarHeight = bottomNavigationBarHeight;
    }

}
